package com.cys.mybatis.reflection.wrapper;

import com.cys.mybatis.reflection.MetaObject;

/**
 * @Author: cys
 * @description:默认对象包装工厂
 * @CreateTime: 2024-10-30  10:13
 * @Version: 1.0
 */
public class DefaultObjectWrapperFactory implements ObjectWrapperFactory{
    @Override
    public boolean hasWrapperFor(Object object) {
        return false;
    }

    @Override
    public ObjectWrapper getWrapperFor(MetaObject metaObject, Object object) {
        throw new RuntimeException("The DefaultObjectWrapperFactory should never be called to provide an ObjectWrapper.");
    }
}
